Fix display of R2L lines in partial-width windows.
authorEli Zaretskii <eliz@gnu.org>
Mon, 15 Sep 2014 15:25:54 +0000 (18:25 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 15 Sep 2014 15:25:54 +0000 (18:25 +0300)
commit5d755a0516c7efaa5d173e71bed68a188a5506eb
tree936c0b0af744cd4c334d1305c0eea47149b22309
parenta44f927a16f030ba39823c4e6af918a3b269149e
Fix display of R2L lines in partial-width windows.

 src/xdisp.c (init_iterator): Don't use it->bidi_p before it is
 assigned the correct value.
 (extend_face_to_end_of_line): Account for truncation and
 continuation glyphs in R2L rows when one of the fringes is not
 displayed.
 (display_line): Don't assign negative X offset to a row if we are
 going to produce a truncation glyph for it.  When handling
 truncated R2L rows, consider the width of the left fringe instead
 of the right one.
 (produce_special_glyphs): Fix bogus assignments.
src/ChangeLog
src/xdisp.c